package com.cloudfun.campusshare.common.constant;

/**
 * Created by Huqin on 2020/3/31
 */
public interface RabbitConstants {

    /**
     * 队列
     */
    interface Queue {
        String DELAY_QUEUE_NAME = "delay.queue.cyanine.space";
        String DEVICE_STATUS = "device.status.cyanine.space";
        String DEVICE_FAULT = "device.fault.cyanine.space";
        String DEVICE_EVENT = "device.event.cyanine.space";
        String DEVICE_FIRMWARE = "device.firmware.cyanine.space";
    }

    /**
     * 交换机
     */
    interface Exchange {
        String DELAY_EXCHANGE_NAME = "delay.exchange.cyanine.space";

        String DEVICE_STATUS = "device.status";
        String DEVICE_FAULT = "device.fault";
        String DEVICE_EVENT = "device.event";
        String DEVICE_FIRMWARE = "device.firmware";
    }

    /**
     * 路由键
     */
    interface routingKey {
        String DELAY_ROUTING_KEY = "delay.task";
    }

}
